package com.gagakuai.demo.defer;

import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

import java.util.function.Predicate;

/*
 * @program: settement
 * @description:
 * @author: houhong
 * @create: 2022-11-12 11:59
 */
public class ImportSelector1 implements ImportSelector {

    @Override
    public String[] selectImports(AnnotationMetadata annotationMetadata) {
        return new String[]{Configuration2.class.getName()};
    }

    @Override
    public Predicate<String> getExclusionFilter() {
        return null;
    }
}